<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>招聘列表 - 职场社交平台</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Segoe UI', system-ui, sans-serif;
            background-color: #f8fafc;
            color: #333;
        }
        
        .container {
            max-width: 1280px;
        }
        
        /* 导航栏样式 */
        .navbar {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            background-color: white;
        }
        
        .logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: #2563eb;
            text-decoration: none;
        }
        
        /* 主内容区 */
        .main-content {
            padding: 2rem 0;
        }
        
        .page-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }
        
        /* 筛选区域 */
        .filters-container {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .filter-section {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .filter-section:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .filter-title {
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .filter-title i {
            color: #2563eb;
        }
        
        /* 搜索框 */
        .search-container {
            position: relative;
            margin-bottom: 1rem;
        }
        
        .search-input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.5rem;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        
        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
        }
        
        /* 筛选选项 */
        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .filter-checkbox {
            display: none;
        }
        
        .filter-label {
            display: inline-block;
            padding: 0.4rem 1rem;
            background-color: #f1f5f9;
            border-radius: 20px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .filter-checkbox:checked + .filter-label {
            background-color: #2563eb;
            color: white;
        }
        
        .filter-label:hover {
            background-color: #e2e8f0;
        }
        
        .filter-checkbox:checked + .filter-label:hover {
            background-color: #1d4ed8;
        }
        
        /* 下拉筛选 */
        .select-filter {
            width: 100%;
            padding: 0.6rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            background-color: white;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11l4-4H4l4 4z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
        }
        
        .select-filter:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        
        /* 滑块筛选 */
        .range-slider {
            width: 100%;
            margin: 1rem 0;
        }
        
        .range-values {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            color: #64748b;
        }
        
        /* 按钮样式 */
        .btn-filters {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
        }
        
        .btn-primary {
            background-color: #2563eb;
            border-color: #2563eb;
            padding: 0.6rem 1.5rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .btn-primary:hover {
            background-color: #1d4ed8;
            border-color: #1d4ed8;
        }
        
        .btn-reset {
            background-color: transparent;
            color: #64748b;
            border: none;
            padding: 0.6rem 1rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .btn-reset:hover {
            color: #334155;
            background-color: #f1f5f9;
        }
        
        /* 结果排序 */
        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .results-count {
            color: #64748b;
            font-size: 0.95rem;
        }
        
        .sort-options {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
        }
        
        .sort-select {
            padding: 0.4rem 0.75rem;
            border: 1px solid #e2e8f0;
            border-radius: 4px;
            background-color: white;
        }
        
        /* 职位列表 */
        .job-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .job-card {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            padding: 1.25rem;
            transition: all 0.3s ease;
            border-left: 4px solid transparent;
        }
        
        .job-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border-left-color: #2563eb;
        }
        
        .job-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 0.75rem;
        }
        
        .job-title {
            font-weight: 600;
            font-size: 1.1rem;
            color: #1e293b;
            margin: 0 0 0.25rem 0;
            transition: color 0.3s ease;
        }
        
        .job-card:hover .job-title {
            color: #2563eb;
        }
        
        .job-meta {
            color: #64748b;
            font-size: 0.9rem;
            margin-bottom: 0.75rem;
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .job-meta span {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        
        .job-meta i {
            font-size: 0.85rem;
        }
        
        .job-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }
        
        .job-tag {
            background-color: #f1f5f9;
            color: #334155;
            font-size: 0.8rem;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
        }
        
        .job-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .job-author {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .author-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-info {
            font-size: 0.85rem;
        }
        
        .author-name {
            color: #334155;
            font-weight: 500;
        }
        
        .post-time {
            color: #94a3b8;
            font-size: 0.8rem;
        }
        
        .job-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .action-btn {
            background: none;
            border: none;
            color: #64748b;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            transition: color 0.3s ease;
        }
        
        .action-btn:hover {
            color: #2563eb;
        }
        
        .action-btn.liked {
            color: #ef4444;
        }
        
        .action-btn.saved {
            color: #2563eb;
        }
        
        /* 分页 */
        .pagination-container {
            margin-top: 2rem;
            display: flex;
            justify-content: center;
        }
        
        .pagination {
            display: flex;
            gap: 0.5rem;
        }
        
        .page-item {
            list-style: none;
        }
        
        .page-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
            color: #64748b;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .page-link:hover {
            border-color: #2563eb;
            color: #2563eb;
        }
        
        .page-item.active .page-link {
            background-color: #2563eb;
            color: white;
            border-color: #2563eb;
        }
        
        .page-link i {
            font-size: 0.9rem;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .filter-section {
                margin-bottom: 1rem;
                padding-bottom: 1rem;
            }
            
            .job-header {
                flex-direction: column;
                gap: 0.5rem;
            }
        }
        
        @media (max-width: 768px) {
            .main-content {
                padding: 1.5rem 0;
            }
            
            .page-title {
                font-size: 1.5rem;
                margin-bottom: 1rem;
            }
            
            .filters-container {
                padding: 1rem;
            }
            
            .results-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }
            
            .job-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }
        }
        
        @media (max-width: 576px) {
            .filter-label {
                padding: 0.35rem 0.75rem;
                font-size: 0.85rem;
            }
            
            .btn-filters {
                flex-direction: column;
                gap: 0.75rem;
                align-items: stretch;
            }
            
            .btn-primary, .btn-reset {
                width: 100%;
                justify-content: center;
            }
            
            .job-meta {
                gap: 0.75rem;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg">
        <div class="container">
            <a href="#" class="logo">职场社交</a>
            
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <i class="fas fa-bars"></i>
            </button>
            
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">招聘</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">公司</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">薪资</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">消息</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">
                            <i class="fas fa-user-circle"></i>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <!-- 主内容区 -->
    <div class="main-content">
        <div class="container">
            <h1 class="page-title">招聘职位</h1>
            
            <div class="row">
                <!-- 左侧筛选区 -->
                <div class="col-lg-3">
                    <div class="filters-container sticky-top" style="top: 20px;">
                        <!-- 关键词搜索 -->
                        <div class="filter-section">
                            <h3 class="filter-title">
                                <i class="fas fa-search"></i> 关键词搜索
                            </h3>
                            <div class="search-container">
                                <i class="fas fa-search search-icon"></i>
                                <input type="text" class="search-input" placeholder="职位、公司、关键词...">
                            </div>
                        </div>
                        
                        <!-- 工作地点 -->
                        <div class="filter-section">
                            <h3 class="filter-title">
                                <i class="fas fa-map-marker-alt"></i> 工作地点
                            </h3>
                            <div class="filter-options">
                                <input type="checkbox" id="city1" class="filter-checkbox">
                                <label for="city1" class="filter-label">北京</label>
                                
                                <input type="checkbox" id="city2" class="filter-checkbox">
                                <label for="city2" class="filter-label">上海</label>
                                
                                <input type="checkbox" id="city3" class="filter-checkbox">
                                <label for="city3" class="filter-label">广州</label>
                                
                                <input type="checkbox" id="city4" class="filter-checkbox">
                                <label for="city4" class="filter-label">深圳</label>
                                
                                <input type="checkbox" id="city5" class="filter-checkbox">
                                <label for="city5" class="filter-label">杭州</label>
                                
                                <input type="checkbox" id="city6" class="filter-checkbox">
                                <label for="city6" class="filter-label">成都</label>
                                
                                <input type="checkbox" id="city7" class="filter-checkbox">
                                <label for="city7" class="filter-label">武汉</label>
                                
                                <input type="checkbox" id="city8" class="filter-checkbox">
                                <label for="city8" class="filter-label">远程</label>
                            </div>
                        </div>
                        
                        <!-- 工作性质 -->
                        <div class="filter-section">
                            <h3 class="filter-title">
                                <i class="fas fa-briefcase"></i> 工作性质
                            </h3>
                            <div class="filter-options">
                                <input type="checkbox" id="type1" class="filter-checkbox" checked>
                                <label for="type1" class="filter-label">全职</label>
                                
                                <input type="checkbox" id="type2" class="filter-checkbox">
                                <label for="type2" class="filter-label">兼职</label>
                                
                                <input type="checkbox" id="type3" class="filter-checkbox">
                                <label for="type3" class="filter-label">实习</label>
                                
                                <input type="checkbox" id="type4" class="filter-checkbox">
                                <label for="type4" class="filter-label">远程</label>
                            </div>
                        </div>
                        
                        <!-- 薪资范围 -->
                        <div class="filter-section">
                            <h3 class="filter-title">
                                <i class="fas fa-money-bill-wave"></i> 薪资范围
                            </h3>
                            <input type="range" min="0" max="100" value="50" class="range-slider" id="salaryRange">
                            <div class="range-values">
                                <span>5K以下</span>
                                <span id="salaryValue">25K-35K</span>
                                <span>100K以上</span>
                            </div>
                            
                            <div class="filter-options mt-2">
                                <input type="checkbox" id="salary1" class="filter-checkbox">
                                <label for="salary1" class="filter-label">5K以下</label>
                                
                                <input type="checkbox" id="salary2" class="filter-checkbox">
                                <label for="salary2" class="filter-label">5K-10K</label>
                                
                                <input type="checkbox" id="salary3" class="filter-checkbox" checked>
                                <label for="salary3" class="filter-label">10K-20K</label>
                                
                                <input type="checkbox" id="salary4" class="filter-checkbox" checked>
                                <label for="salary4" class="filter-label">20K-30K</label>
                                
                                <input type="checkbox" id="salary5" class="filter-checkbox">
                                <label for="salary5" class="filter-label">30K-50K</label>
                                
                                <input type="checkbox" id="salary6" class="filter-checkbox">
                                <label for="salary6" class="filter-label">50K以上</label>
                            </div>
                        </div>
                        
                        <!-- 工作经验 -->
                        <div class="filter-section">
                            <h3 class="filter-title">
                                <i class="fas fa-history"></i> 工作经验
                            </h3>
                            <div class="filter-options">
                                <input type="checkbox" id="exp1" class="filter-checkbox">
                                <label for="exp1" class="filter-label">应届毕业生</label>
                                
                                <input type="checkbox" id="exp2" class="filter-checkbox" checked>
                                <label for="exp2" class="filter-label">1-3年</label>
                                
                                <input type="checkbox" id="exp3" class="filter-checkbox" checked>
                                <label for="exp3" class="filter-label">3-5年</label>
                                
                                <input type="checkbox" id="exp4" class="filter-checkbox">
                                <label for="exp4" class="filter-label">5-10年</label>
                                
                                <input type="checkbox" id="exp5" class="filter-checkbox">
                                <label for="exp5" class="filter-label">10年以上</label>
                            </div>
                        </div>
                        
                        <!-- 学历要求 -->
                        <div class="filter-section">
                            <h3 class="filter-title">
                                <i class="fas fa-graduation-cap"></i> 学历要求
                            </h3>
                            <select class="select-filter">
                                <option value="">不限学历</option>
                                <option value="highschool">高中及以下</option>
                                <option value="associate">专科</option>
                                <option value="bachelor" selected>本科</option>
                                <option value="master">硕士</option>
                                <option value="phd">博士</option>
                            </select>
                        </div>
                        
                        <!-- 公司类型 -->
                        <div class="filter-section">
                            <h3 class="filter-title">
                                <i class="fas fa-building"></i> 公司类型
                            </h3>
                            <div class="filter-options">
                                <input type="checkbox" id="company1" class="filter-checkbox" checked>
                                <label for="company1" class="filter-label">互联网</label>
                                
                                <input type="checkbox" id="company2" class="filter-checkbox">
                                <label for="company2" class="filter-label">金融</label>
                                
                                <input type="checkbox" id="company3" class="filter-checkbox">
                                <label for="company3" class="filter-label">教育</label>
                                
                                <input type="checkbox" id="company4" class="filter-checkbox">
                                <label for="company4" class="filter-label">医疗</label>
                                
                                <input type="checkbox" id="company5" class="filter-checkbox">
                                <label for="company5" class="filter-label">制造业</label>
                                
                                <input type="checkbox" id="company6" class="filter-checkbox">
                                <label for="company6" class="filter-label">国企</label>
                                
                                <input type="checkbox" id="company7" class="filter-checkbox">
                                <label for="company7" class="filter-label">外企</label>
                            </div>
                        </div>
                        
                        <!-- 筛选按钮 -->
                        <div class="btn-filters">
                            <button class="btn btn-reset d-flex align-items-center gap-0.5">
                                <i class="fas fa-sync-alt"></i> 重置筛选
                            </button>
                            <button class="btn btn-primary d-flex align-items-center gap-0.5">
                                <i class="fas fa-filter"></i> 应用筛选
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- 右侧职位列表 -->
                <div class="col-lg-9">
                    <!-- 结果头部 -->
                    <div class="results-header">
                        <div class="results-count">找到 <strong>1,254</strong> 个符合条件的职位</div>
                        
                        <div class="sort-options">
                            <span>排序方式：</span>
                            <select class="sort-select">
                                <option value="relevance">相关度</option>
                                <option value="date" selected>最新发布</option>
                                <option value="salary-desc">薪资从高到低</option>
                                <option value="salary-asc">薪资从低到高</option>
                            </select>
                        </div>
                    </div>
                    
                    <!-- 职位列表 -->
                    <div class="job-list">
                        <!-- 职位1 -->
                        <div class="job-card">
                            <div class="job-header">
                                <div>
                                    <h2 class="job-title">资深前端开发工程师</h2>
                                    <div class="job-meta">
                                        <span><i class="fas fa-building"></i> 阿里巴巴</span>
                                        <span><i class="fas fa-map-marker-alt"></i> 杭州</span>
                                        <span><i class="fas fa-money-bill-wave"></i> 25K-35K·13薪</span>
                                    </div>
                                </div>
                                <span class="badge bg-success">急聘</span>
                            </div>
                            
                            <div class="job-tags">
                                <span class="job-tag">React</span>
                                <span class="job-tag">Vue</span>
                                <span class="job-tag">3-5年</span>
                                <span class="job-tag">本科</span>
                            </div>
                            
                            <div class="job-footer">
                                <div class="job-author">
                                    <img src="https://picsum.photos/100/100?random=101" alt="招聘发布者头像" class="author-avatar">
                                    <div class="author-info">
                                        <div class="author-name">李招聘</div>
                                        <div class="post-time">2小时前发布</div>
                                    </div>
                                </div>
                                
                                <div class="job-actions">
                                    <button class="action-btn like-btn">
                                        <i class="far fa-thumbs-up"></i>
                                        <span>128</span>
                                    </button>
                                    <button class="action-btn comment-btn">
                                        <i class="far fa-comment"></i>
                                        <span>42</span>
                                    </button>
                                    <button class="action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                        <span>收藏</span>
                                    </button>
                                    <button class="action-btn view-btn">
                                        <i class="far fa-eye"></i>
                                        <span>2.3k</span>
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 职位2 -->
                        <div class="job-card">
                            <div class="job-header">
                                <div>
                                    <h2 class="job-title">产品经理（短视频方向）</h2>
                                    <div class="job-meta">
                                        <span><i class="fas fa-building"></i> 字节跳动</span>
                                        <span><i class="fas fa-map-marker-alt"></i> 北京</span>
                                        <span><i class="fas fa-money-bill-wave"></i> 20K-35K·15薪</span>
                                    </div>
                                </div>
                                <span class="badge bg-primary">全职</span>
                            </div>
                            
                            <div class="job-tags">
                                <span class="job-tag">短视频</span>
                                <span class="job-tag">用户增长</span>
                                <span class="job-tag">3-5年</span>
                                <span class="job-tag">本科</span>
                            </div>
                            
                            <div class="job-footer">
                                <div class="job-author">
                                    <img src="https://picsum.photos/100/100?random=102" alt="招聘发布者头像" class="author-avatar">
                                    <div class="author-info">
                                        <div class="author-name">张产品</div>
                                        <div class="post-time">5小时前发布</div>
                                    </div>
                                </div>
                                
                                <div class="job-actions">
                                    <button class="action-btn like-btn">
                                        <i class="far fa-thumbs-up"></i>
                                        <span>96</span>
                                    </button>
                                    <button class="action-btn comment-btn">
                                        <i class="far fa-comment"></i>
                                        <span>28</span>
                                    </button>
                                    <button class="action-btn save-btn saved">
                                        <i class="fas fa-bookmark"></i>
                                        <span>已收藏</span>
                                    </button>
                                    <button class="action-btn view-btn">
                                        <i class="far fa-eye"></i>
                                        <span>1.5k</span>
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 职位3 -->
                        <div class="job-card">
                            <div class="job-header">
                                <div>
                                    <h2 class="job-title">UI/UX设计师</h2>
                                    <div class="job-meta">
                                        <span><i class="fas fa-building"></i> 腾讯科技</span>
                                        <span><i class="fas fa-map-marker-alt"></i> 深圳</span>
                                        <span><i class="fas fa-money-bill-wave"></i> 18K-28K·14薪</span>
                                    </div>
                                </div>
                                <span class="badge bg-primary">全职</span>
                            </div>
                            
                            <div class="job-tags">
                                <span class="job-tag">UI设计</span>
                                <span class="job-tag">用户体验</span>
                                <span class="job-tag">1-3年</span>
                                <span class="job-tag">本科</span>
                            </div>
                            
                            <div class="job-footer">
                                <div class="job-author">
                                    <img src="https://picsum.photos/100/100?random=103" alt="招聘发布者头像" class="author-avatar">
                                    <div class="author-info">
                                        <div class="author-name">王设计</div>
                                        <div class="post-time">昨天 14:30发布</div>
                                    </div>
                                </div>
                                
                                <div class="job-actions">
                                    <button class="action-btn like-btn liked">
                                        <i class="fas fa-thumbs-up"></i>
                                        <span>78</span>
                                    </button>
                                    <button class="action-btn comment-btn">
                                        <i class="far fa-comment"></i>
                                        <span>36</span>
                                    </button>
                                    <button class="action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                        <span>收藏</span>
                                    </button>
                                    <button class="action-btn view-btn">
                                        <i class="far fa-eye"></i>
                                        <span>1.8k</span>
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 职位4 -->
                        <div class="job-card">
                            <div class="job-header">
                                <div>
                                    <h2 class="job-title">后端开发工程师（Java）</h2>
                                    <div class="job-meta">
                                        <span><i class="fas fa-building"></i> 美团</span>
                                        <span><i class="fas fa-map-marker-alt"></i> 上海</span>
                                        <span><i class="fas fa-money-bill-wave"></i> 22K-35K·14薪</span>
                                    </div>
                                </div>
                                <span class="badge bg-primary">全职</span>
                            </div>
                            
                            <div class="job-tags">
                                <span class="job-tag">Java</span>
                                <span class="job-tag">微服务</span>
                                <span class="job-tag">5-10年</span>
                                <span class="job-tag">本科</span>
                            </div>
                            
                            <div class="job-footer">
                                <div class="job-author">
                                    <img src="https://picsum.photos/100/100?random=104" alt="招聘发布者头像" class="author-avatar">
                                    <div class="author-info">
                                        <div class="author-name">赵开发</div>
                                        <div class="post-time">2天前发布</div>
                                    </div>
                                </div>
                                
                                <div class="job-actions">
                                    <button class="action-btn like-btn">
                                        <i class="far fa-thumbs-up"></i>
                                        <span>63</span>
                                    </button>
                                    <button class="action-btn comment-btn">
                                        <i class="far fa-comment"></i>
                                        <span>21</span>
                                    </button>
                                    <button class="action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                        <span>收藏</span>
                                    </button>
                                    <button class="action-btn view-btn">
                                        <i class="far fa-eye"></i>
                                        <span>1.2k</span>
                                    </button>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 职位5 -->
                        <div class="job-card">
                            <div class="job-header">
                                <div>
                                    <h2 class="job-title">数据分析师</h2>
                                    <div class="job-meta">
                                        <span><i class="fas fa-building"></i> 百度</span>
                                        <span><i class="fas fa-map-marker-alt"></i> 北京</span>
                                        <span><i class="fas fa-money-bill-wave"></i> 18K-28K·13薪</span>
                                    </div>
                                </div>
                                <span class="badge bg-primary">全职</span>
                            </div>
                            
                            <div class="job-tags">
                                <span class="job-tag">数据分析</span>
                                <span class="job-tag">Python</span>
                                <span class="job-tag">3-5年</span>
                                <span class="job-tag">硕士</span>
                            </div>
                            
                            <div class="job-footer">
                                <div class="job-author">
                                    <img src="https://picsum.photos/100/100?random=105" alt="招聘发布者头像" class="author-avatar">
                                    <div class="author-info">
                                        <div class="author-name">陈数据</div>
                                        <div class="post-time">3天前发布</div>
                                    </div>
                                </div>
                                
                                <div class="job-actions">
                                    <button class="action-btn like-btn">
                                        <i class="far fa-thumbs-up"></i>
                                        <span>42</span>
                                    </button>
                                    <button class="action-btn comment-btn">
                                        <i class="far fa-comment"></i>
                                        <span>12</span>
                                    </button>
                                    <button class="action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                        <span>收藏</span>
                                    </button>
                                    <button class="action-btn view-btn">
                                        <i class="far fa-eye"></i>
                                        <span>856</span>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 分页 -->
                    <div class="pagination-container">
                        <ul class="pagination">
                            <li class="page-item">
                                <a class="page-link" href="#" aria-label="上一页">
                                    <i class="fas fa-chevron-left"></i>
                                </a>
                            </li>
                            <li class="page-item active">
                                <a class="page-link" href="#">1</a>
                            </li>
                            <li class="page-item">
                                <a class="page-link" href="#">2</a>
                            </li>
                            <li class="page-item">
                                <a class="page-link" href="#">3</a>
                            </li>
                            <li class="page-item">
                                <a class="page-link" href="#">4</a>
                            </li>
                            <li class="page-item">
                                <a class="page-link" href="#">5</a>
                            </li>
                            <li class="page-item">
                                <a class="page-link" href="#" aria-label="下一页">
                                    <i class="fas fa-chevron-right"></i>
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 薪资范围滑块
            const salaryRange = document.getElementById('salaryRange');
            const salaryValue = document.getElementById('salaryValue');
            
            // 薪资范围对应文本
            const salaryTexts = [
                "5K以下",
                "5K-10K",
                "10K-15K",
                "15K-20K",
                "20K-25K",
                "25K-35K",
                "35K-50K",
                "50K-70K",
                "70K-100K",
                "100K以上"
            ];
            
            // 更新薪资范围显示
            salaryRange.addEventListener('input', function() {
                const value = parseInt(this.value);
                const index = Math.min(Math.floor(value / 10), salaryTexts.length - 1);
                salaryValue.textContent = salaryTexts[index];
            });
            
            // 点赞功能
            document.querySelectorAll('.like-btn').forEach(btn => {
                btn.addEventListener('click', function() {
                    const icon = this.querySelector('i');
                    const countSpan = this.querySelector('span');
                    let count = parseInt(countSpan.textContent);
                    
                    if (icon.classList.contains('far')) {
                        // 点赞
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.classList.add('liked');
                        countSpan.textContent = count + 1;
                    } else {
                        // 取消点赞
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.classList.remove('liked');
                        countSpan.textContent = count - 1;
                    }
                });
            });
            
            // 收藏功能
            document.querySelectorAll('.save-btn').forEach(btn => {
                btn.addEventListener('click', function() {
                    const icon = this.querySelector('i');
                    const textSpan = this.querySelector('span');
                    
                    if (icon.classList.contains('far')) {
                        // 收藏
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        this.classList.add('saved');
                        textSpan.textContent = '已收藏';
                    } else {
                        // 取消收藏
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        this.classList.remove('saved');
                        textSpan.textContent = '收藏';
                    }
                });
            });
            
            // 评论按钮点击事件
            document.querySelectorAll('.comment-btn').forEach(btn => {
                btn.addEventListener('click', function() {
                    const jobCard = this.closest('.job-card');
                    const jobTitle = jobCard.querySelector('.job-title').textContent;
                    alert(`查看 "${jobTitle}" 的评论`);
                });
            });
            
            // 查看按钮点击事件
            document.querySelectorAll('.view-btn').forEach(btn => {
                btn.addEventListener('click', function() {
                    const jobCard = this.closest('.job-card');
                    const jobTitle = jobCard.querySelector('.job-title').textContent;
                    // 这里可以跳转到职位详情页
                    alert(`查看 "${jobTitle}" 的详细信息`);
                });
            });
            
            // 重置筛选按钮
            document.querySelector('.btn-reset').addEventListener('click', function() {
                // 重置复选框
                document.querySelectorAll('.filter-checkbox').forEach(checkbox => {
                    checkbox.checked = false;
                });
                
                // 重置下拉框
                document.querySelectorAll('select').forEach(select => {
                    select.selectedIndex = 0;
                });
                
                // 重置薪资滑块
                salaryRange.value = 50;
                salaryValue.textContent = "25K-35K";
                
                // 选中默认选项
                document.getElementById('type1').checked = true;
                document.getElementById('exp2').checked = true;
                document.getElementById('exp3').checked = true;
                document.getElementById('salary3').checked = true;
                document.getElementById('salary4').checked = true;
                document.getElementById('company1').checked = true;
            });
            
            // 应用筛选按钮
            document.querySelector('.btn-primary').addEventListener('click', function() {
                // 收集选中的筛选条件
                const selectedCities = [];
                document.querySelectorAll('.filter-checkbox:checked').forEach(checkbox => {
                    if (checkbox.id.startsWith('city')) {
                        selectedCities.push(checkbox.nextElementSibling.textContent);
                    }
                });
                
                // 这里可以添加筛选逻辑，实际应用中会发送请求到服务器
                alert(`已应用筛选条件：\n城市: ${selectedCities.join(', ') || '不限'}`);
            });
        });
    </script>
</body>
</html>
    
